//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#if _MSC_VER > 1000
#pragma once
#endif

#ifndef __SHARE_MEM_TYPES_H__
#define __SHARE_MEM_TYPES_H__

#include "list.h"
union Info
{
    UInt32 id;
    Address oldMemAddr;
};

struct ShareMemData
{
    PVoid hFileMap;
    Info    uInfo;
    Address ShareAddr;
    list Entry;
};

#define ERROR_ALREADY_EXISTS             183L
#define FILE_MAP_WRITE   0x0002
#define FILE_MAP_READ    0x0004

#endif /* __SHARE_MEM_TYPES_H__ */
